{if count($query_obj) == 1}
	{$query_obj.0->title}
{elseif count($query_obj) == 0}
	<em>Kein Wert hinterlegt</em>
{else}
<table>
{foreach from=$query_obj item=item key=key}
<tr>
	<td>
	{$item->title}
	</td>
</tr>
{/foreach}
</table>
{/if}